Update WidgetHelper.js