added dependency on xhr2