A simple function to create jQuery-Plugins using the Widget-Bridge of jQuery-UI