moved js files

move js files to js folder and updated html accordingly