JS shim for environment.
Merge branch 'support-subdirs' of github.com:mapkyca/idno into support-subdirs