Update widget.js

small fix, using contains is not possible in array query atm