new template mixin with jQuery plugin