Basic example of Object-Oriented JS