phat.js is a html5canvas based game engine.