Fix failing ajax test on Windows