homework 3 JS OOP