* legend
* clean up some js
* play around with pct no success