WFK2-690 fixed syntax error in metrics.js