change from single folder to structured folders

told index.html where to find default.js