Miserable attempts to fix the console
Merged player.js