move js and css into separate files and directory