Returning of XMLHttpRequest

Hi, in concreate function is not returned XMLHttpRequest which returns function call. This changeset fixes it. Could you merge it and release new version as soon as possible? Thanks.