Adding jsdocs for ui/Widjet.js

Adding jsdocs for `ui/Widjet.js`