Changed metrics JS to match that on Google Drive.