removed some unneeded AJAX calls