using admin_url function to get proper ajax url for jQuery POST.