code cleanup
fixes #4 - conditions onContentAfterSave for J2.5/J3.x