Updates to main.min.js as it was not working earlier