fixing widget.js load