replace selected div with semantic HTML5 elements