allow comment in package.js & remove some debug msgs