Update forge.js to use boilerplate similar to other modules.
Fix typo.
Add flag to allow disabling native code.

- Clean up some trailing whitespace.
- Addresses #59.