code: function(name, file) {
      if (!ternLoaded[name]) {
        $.ajax({
          url: file,
          dataType: 'json',
          success: function(data) {
            addTernDefinition(data);
            ternLoaded[name] = true;
          }
        });
      }
    }
docs: Load the json defition of the library