Add index.js for npm