Boilerplate code to create custom jQuery plugins