changes for Elgg 1.9
changed ajaxSuccess binding to prevent JS errors

fixes #2