Conciseness nitpick.

Instead of setting the upperLength variable twice, just set it once.

I really wish CoffeeScript accepted `var = value1 IF condition ELSE value2`, But alas, it does not.