Javascript class with Girl Develop It