widgets.js just the converted code

many test files still not converted
Merge remote-tracking branch 'refs/remotes/upstream/master' into widget-refactor

Conflicts resolved:
	lineGraphTests.html