add boilerplate for jQuery plugins