Re-indent main.js properly