title: Setting Global Base URL
body: <p>I'm using jQuery: which is the best way to store <strong>base url</strong> value for AJAX requests, in a way that every scripts can somehow reference it without manual changes for every update? Should I store it in window object, html, global variable, or what? Many thanks in advance.</p>