fix for pull request #35, triggers ajax success on parent of replaced element