Set JavaScript base URL for AJAX requests.