JavaScript scope analysis for Mozilla Parser AST