Bare-bones class declaration sugar in Javascript.