What are the differences between ES6 class and ES5 function constructors