Basic 2D platformer with infinite world generation. Javascript / HTML