changed interface to use selects, cleaned up heatmap.js