html5 refactor