Revert main.js