HTML5 Canvas/Javascript RPG Engine