Fixed my own mistakes with gamevars.js