Fixing capitalisation error in main.js.