moved all .js files to the js folder