JS OOP homework 2