It doesn't have to be global! Terra works as a module with most popular module systems. For example:
var terra = require('./terra.min.js');
should work in any CommonJS environment.