Documentation for commonjs module

Refs #46