add some api to html5