analyze.html updates

* fixed: download didn't update url
* added: clear button
* fixed: old chart lingered while waiting for new data