fixed package.js bug