Update widget.js

Removing console.log