Base class for jquery plugins