classHelpers for JavaScript