Destructing Abstract Syntax Trees in JavaScript