downloads all js and css files in the html code (if given as a link) and changes the html code accordingly