moving ThresholdModel out of AnalysisModel
fixed jshint warnings
colorScale template
uses squid_api_flowchart-widget