Fix for js latencies endpoint