Undo the scoping change for the graph-widget.js (was messing up the diff, and probably elongs in a separate PR)