Add missing var statement in anonymousValue function

the match variable was being implicitly declared in the global scope. Made 1.4.0-b4 fail when I was running it under rhino.