Fixed bug due to trailing slash in URLs for some AJAX calls