Adds missing global declaration to activate.spec.js