moving JS to new folder structure