added on how to create an object using JS