add index.js for node