fixed frontend errors, game id, js