JavaScript and Object Models