issue #2726:JSB and html5 has many differences