Running javascript on rows while viewing event