moved .js files to js folder