Did you use any existing js frameworks in making the game?
I've been writing a little puzzler/platformer using Crafty JS, and it seems to have a pretty flexible approach.
Fair amount of bugs/undocumented behavior, but hey, I can always go straight to the source. :)