Example of basic JS OOP