improve jasmine-ajax support