Convert js/main.js to spaces