code: public ChannelFuture respondJsonPText(Object text, String function) throws Exception {
          return respondJs(function + "(" + text + ");\r\n");
      }
docs: Wraps the text with the given JavaScript function name, and responds.
  <p>
  Content-Type header is set to "application/javascript".