moved main.js file and updated preloaded.js