ADDED LOCAL SCOPE AND CLOSURE STUFF ALONG WITH OBJECT LITERAL