OOP and Javascript homeworks updated