[fix] use ID instead of name for html5