JavaScript OOP all Homeworks