fixed "main" in package.json to support node.js