make compatible with phantomjs's require

add an "index.js" file so that the module can be required with phantomjs.