moved js and css into separate files