write package.js, setup grunt