Fix #430 JS error at metrics page of indiviual actions