moving main.js to different location