Issue #127. Update canvas_perf script to compute score similar to flashcanvas JS app.