switching HTML references from HTML4 to HTML5