Fixing syntax error in index.js
Updating npm version