Following an HTML 5 platformer game tutorial