Create your class in javascript