//this code changes the url of all pdf's, so that cached pdf's get reloading on refresh of the page