Would this be better in a data-attribute on rather than a global var in the template? e.g.

    <div id="release-id" data-id="{{original.id}}"></div>

Then in releasenotes.js something like:

    var releaseId = $('#release-id').data('id');
    var releaseApiUrl = window.location.origin + '/rna/releases/' + releaseId + '/';