move js files to more appropriate folders

Also started working on loading html files