Improvements in XHR, adding minified version