Updates bindings-generator.
Adds tools/tojs.