Fixed #654 for Interpreter.
Added failing test case for different issue.
Merge pull request #665 from matthias-springer/ast-interpreter

Interpreter class reference nodes: check for JS globals