remove redundant or extraneous params/vars/calls
better error checking, rm BASE & CWD globals
log
minor usage text, drop scope of Mojito var
test shared.js
spec in mapSpecUris referred to key not value
tests shared.js