Revert to prior version of main.js