Fix flexical.

Bug in widgets.js.