Added a Webworker to carry out XHR in the background