Changed 'this' in outro to 'window' - 'this' breaks in a browserify bundle