MISC: add assertions to index.js.
0.1.2