Update index.js

Updated module pattern according to new way.