clean up track.js
support tallies on scatterplot pane