Ensure that extensions are added on written files.
Add a script to build a standalone transpiler.

This standalone version will be for use in the browser demo.

Addresses #160.