code: function appendPre(message) {
  	var pre = document.getElementById('content');
  	var textContent = document.createTextNode(message + '\n');
  	pre.appendChild(textContent);
  }
docs: Append a pre element to the body containing the given message
  as its text node. Used to display the results of the API call.
  
  @param {string} message Text to be placed in pre element.