Removing remote javascript and css references.