Update widget.js

Fixing event name