jquery plugin :  1) Create your plugin  2) Add function public String getCustomHtmlHeaders() in the plugin in order to change the HTML header .  3) Add line return  "\n" (or path to js file)