Fixed XHRLoader not loading properly in Cordova.