javascript golf on filtering table names