Can you show us the complete code for this widget and its plugin?