Simplified index.php and player.js