display in game.js doesn't need to be attached to window

I didn't test or anything, so take that for what it's worth.