Token as window variable