[js] done: widgetConditional