Update js/m2.metrics.js fixes #64