inject  for encodeURIComponent
ie8 cors support