add html5 enable/disable feature

ref #11