Create class-js