Change to viewLog JS

Removed empty rows on table