Update widget.js
Update designer.js
Merge pull request #1 from acoudeyras/master

Clean widget