Add missing "var" keyword

So it doesn't crash anymore when executed in a global strict mode.