Fix relative require in CJS mode.
Merge pull request #24 from krisselden/fix-cjs-relative-require

Fix relative require in CJS mode.