Class creation library for JavaScript