update error page to html 5 and fix some links