Infinite Runner Javascript Game