Fix JSHint errors for player.js