modifying widgets demo to just use JS api
propagate initial value through channels