Remove hard coded URL causing failure of AJAX calls in production

(cherry picked from commit 472cf1584abff50187844075f8cf8964cdfc37b1)