Generate SpiderMonkey-compatible JavaScript abstract syntax trees