adding widgets.js