finish replace, start ajax