Easy way to use the classes in JavaScript.