style and js fixes on error page