worker restored
XHR moved inside worker
went back to callback style in XHR