Combined var declarations in main.js.