Remove __dirname from index.js

To make Browserify work, make the require relative (ie './') instead of explicit via __dirname.
Merge pull request #2 from dmmalam/master

remove __dirname from index.js