Fix JSHint errors for track filtering.