My tiny HTML5 game library: H1eDPI.js

I will be using a previously unpublished mini-library made by me called H1eDPI.js for my entry. The name comes from the fact that this is best suited for games using pixel art at around 30DPI resolution. 8)

Pastebin shall do for now: http://pastebin.com/vCTiW6Me

And a template page to go with it: http://pastebin.com/Rdyt1KWT

And a short example main.js: http://pastebin.com/v7iDJh4P

2014 update: Newest version available at https://github.com/8dromeda/h1edpi