A JavaScript AST scope analyzer