correction in widget.js
one more bit
Merge pull request #6182 from SylvainCorlay/do-diff-correction

do_diff function was always removing all views from the old list.