Update main.js

Fixed game variable.