javascript for metrics for North America HP ProCurve