split javascript into index and potato

also fix a tooltip namespace issue
make split/color/size toggleable params
move toolbar from dom to js
move subset-selection from dom to js
rename bubblechart, fix tooltip bug