Fix for broken javascript on game page