HTML5 canvas game using jQuery and module pattern for enclosure.