fixing widget.js again