For consistency, using Karma instead of Mocha. Using gajus namespace ffor window object.