syntax error in package.js