Touched up some code with AJAX - no more redirecting!