Use indexer for JS reserved idents where possible
Fix for #179
Haddock comments
Use error instead of unit for temp types
Merge pull request #180 from garyb/master

Idents again