Update js/player.js

Fixed the gravity + jumping.
Merge pull request #2 from Squarific/patch-1

Update js/player.js