not yet working version of the refactored code
Merge remote-tracking branch 'origin/master'

Conflicts:
	js/sync-visualization-main.js
	js/viewerRelated.js