RPG HTML5 & Javascript