code: private String buildScriptInternal(final String url)
     {
        StringBuilder builder = new StringBuilder();
        builder.append("window.location.href = '");
        builder.append(url);
        builder.append("'; return false;");
        return builder.toString();
     }
docs: Creates the required script for the supplied URL
  
  @param url The URL
  @return The script