convert resource on ajax.googleapis.com to local