Coding style cleanup of player.js.