MDL-45867: change to asynchonous ajax