starting application development patterns of plugins for jquery ui