Update js/player.js

Fixed the gravity + jumping.