extract js and css into seperate files