stable data to template, pre data to js code
functional compare map with dots
compare functional with temp green and red dots