Extract `name.toLowerCase()` as a local variable?