What's wrong with classes in JavaScript