moving script.js to root folder