fixed ajax halting capabilities