added rough index.js