fixed #61, var window not support in jscoverage
fixed #62, fixed baiduhd browser for ipad.