public void renderHead(final IHeaderResponse response) {
   // Nav Bar Tool Tips
   // NOTE: Based on unstable, 2.0 version.  If replacing, take note of CSS style changes as well!
   // response.renderJavascriptReference(new
   // ResourceReference("js/jquery/jquery.qtip-2.0-rev411.min.js"));
   response.renderJavascriptReference(new ResourceReference("js/jquery/jquery.qtip-1.0.min.js"));
   response.renderJavascript(
       "$(window).ready(function() { navBarToolTips(); });", "Nav Bar Tool Tip Init");
 }
  @Override
  public void renderHead(IHeaderResponse response) {
    super.renderHead(response);

    response.renderJavascriptReference(
        new JavascriptResourceReference(Chart.class, "jquery-1.10.2.min.js"), "jquery");

    ClientProperties clientProperties =
        ((WebClientInfo) ((WebSession) Session.get()).getClientInfo()).getProperties();
    boolean isIE = clientProperties.isBrowserInternetExplorer();
    boolean isLowerThan9 = clientProperties.getBrowserVersionMajor() < 9;
    boolean domreadySupport = !(isIE && isLowerThan9);
    response.renderJavascriptReference("https://www.google.com/jsapi");
    String jsg =
        "	google.load('visualization', '1.2', {\n"
            + "packages : [ 'corechart', 'controls', 'table', 'orgchart']\n"
            + "});";
    response.renderJavascript(jsg, "jsg");
    response.renderJavascriptReference(
        new JavascriptResourceReference(Resolver.class, "bridge.js"));

    generate(container, response, domreadySupport);
  }