make code sensible and robust
get access token when calling each weixin interface
generate QRCode with parameter
refactor oauth.js to be structured like qrcode.js