my repository oj js OOP