fix undefined WeixinJSBridge issue