Ticket 498: cleanup of metrics results (Javascript)