set the correct directory to main.js