Updated main.js file that works fine in LESS files