fixing _main.js