percent is now calculated correctly

Percent over a bigger time-period than one day is now calculated
somewhat correctly. Total nr of kids is the biggest number of kids in
the selected time-period.
index.html is under a change.
next step: weighing polylines.