Remove hard coded URL causing failure of AJAX calls in production