Created an universal xhrRequest function to perform XMLHTTPRequests accross browsers while maintaining an identical script.js