main.js is now compliant with code standard;