Adjust template for jQuery plugin

Function that is member of "jQuery.fn" will be pick up by the template