make chart robust by disabling button
Merge branch 'refactor' into gh-pages