Add get and set for html5 element