fixing the "with-continue" functionality to work with the new ajax method