copied over ajaxchimp changes