Remove __dirname from index.js

To make Browserify work, make the require relative (ie './') instead of explicit via __dirname.