added header to index.js