Game written in javascript using lime.js and closure for html5 canvas