adding index.js for v1.1