Utils, Basic: We have prettier way of checking if the variable is array.

Make use of typeOf.
Utils, Dom: Before doing anything with className, check that it's not falsy.