add compile js and package.json