Changes references to javascript and css back to using path rather than url