SquirrelGuy-5 classes do work by simply creating a pollyfill you can have most of the es6 class compatibility with little compromise by constructing an anonymous function then invoke it by using new <classname>
var Title = (function() {
function Title(sub) {
this.subtitle = sub;
}
return Title;
})()
var a = new Title("b")
this is how i prefer constructing my pollyfills for classes but a simple object does that just fine as well