index.js: added auto commit of localstorage at each commit, stats: added svg for histograms and visible dots at datapoints in graph