TAP5-2399: SeleniumTestCase.waitForAjaxRequestsToComplete() not working when using Prototype