Update widget.js

fix for when data is loaded and you use a component