js metric reporting