I'd have put this URL in a global variable at js file header.