move main.js to body