EveGrid JS code cleanup