Time warping platformer written on HTML5/js