This needs to be submitted as a patch to upstream 3akai-ux. It can either be the current fix or we can make sure that `widget.js` is always an array.