A simple Class class for JavaScript