style: Stop allocating when lowercasing element names for lookup in the

hash.

31% win on selector matching.

r? @larsbergstrom