Updated error page; moved js files out of WEB-INF directory