Removed references to ajaxurl

We now grab the ajaxurl we pass through from the php environment