Move global error handler to html file.