Update widget.js

Looks like a copy & paste bug that prevents custom events from firing. Not sure what the "context" param in exports.on()/exports.off() are supposed to do.