jquery plugin template: advanced boilerplate