Filter out empty rows in getJs()