Add generic error message page
Add error page view and URL to config script for redirecting on JS errors