few dummy examples about how to create objects in javascript