replaces tabs with spaces in main.js