add petrol support for web and wechat mobile