Create js-widget-spec