Object Oriented Java Script