add ajax to clear button