hub: fix metric.js -> metrics.js typo