Remove destructuring in a failed attempt to get node working, and add broken AMD tests with mocha.