Using Recast to Automate Analysis and Maintenance of JS Code