Make HTTP request using XDomainRequest or Superagent