code: function(name, file) {
      if (!ternLoaded[name]) {
        $.ajax({
          url: file,
          dataType: 'script',
          success: function(data) {
            ternServer.server.addFile(name, data);
            ternLoaded[name] = true;
          }
        });
      }
    }
docs: Load the actual js library