message: Make the log decorator also work outside the browser environment
diff: @@ -49,11 +49,15 @@ function repr(obj: any): string {
  return name;
  }
  + try {
  if (HTMLElement !== undefined) {
  if (obj instanceof HTMLElement) {
  return "<" + (<HTMLElement> obj).tagName + ">";
  }
  }
  + } catch(e) {
  + // Ignore. This blows up outside the browser environment.
  + }
  switch (typeof obj) {
  case "number":
  