moving placement of main.js