Updated InputEngine and Player.js