adds javascript and css files to three pages of html