basic samples of JS OOP