Changed ajax calls to POST.