fixing main field in package.json
adding d3 dependency in package.json