[Javascript Part 2]: Added OOP