added url to initHttpRequest for error callback

Fixing "undefined" bug discovered via IE.