Revert async main.js