EZP-23074: ezjscore - cleanup and move jquery/yui plugin code to template.