code: @Override
  	public void renderHead(final Component component, final IHeaderResponse response)
  	{
  		super.renderHead(component, response);
  		response.render(JavaScriptHeaderItem
  			.forReference(Application.get().getJavaScriptLibrarySettings().getJQueryReference()));
  		response.render(
  			JavaScriptHeaderItem.forReference(CurrentDatetimeBehavior.DATETIME_PLUGIN_REFERENCE));
  		final String js = generateJS(datetimeTemplate);
  		System.out.println(js);
  		response.render(OnLoadHeaderItem.forScript(generateJS(datetimeTemplate)));
  	}
docs: {@inheritDoc}