make remove_ajaxify_param a helper method - its useful elsewhere