A better object model for javascript- Work In Progress