fix on_ajaxify_success for the case where ajaxify content contains an ajaxify redirect