preliminary generate-download.py script
.ready() works in IE8 now
use .ready() for both charts on annotations.html
fix lint error