MISC: prepare for publishing to npm.
MISC: handle coreIdentifier in index.js.