moved main.js