update sample midterms and finals to use HTML5 plots