Package.json file issue resolved and index.js improvised