code: @Override
  	public String generateJavascriptTemplateContent(final Map<String, Object> variables,
  		final String methodName)
  	{
  		final StringBuilder sb = new StringBuilder();
  		if (isWithDocumentReadyFunction())
  		{
  			sb.append(DOCUMENT_READY_FUNCTION_PREFIX).append("\n").append("\n");
  		}
  		for (final Map.Entry<String, Object> entry : variables.entrySet())
  		{
  			final String key = entry.getKey();
  			if (!COMMAND.equals(key))
  			{
  				sb.append(key).append("=${").append(key).append("};");
  				sb.append("\n");
  			}
  		}
  		sb.append("\n");
  		sb.append("${" + COMMAND + "};");
  		sb.append("\n");
  		if (isWithDocumentReadyFunction())
  		{
  			sb.append(DOCUMENT_READY_FUNCTION_SUFFIX);
  		}
  		return sb.toString();
  	}
docs: Generates the javascript template code from the given map and the given method name that will
  be used to interpolate with the values of the given map.
  
  @param variables
  the map with the javascript options.
  @param methodName
  The method name.
  @return The generated javascript from the given map and the given method name.