updated index.js and package.json to include wx sample