Added error page
Changes for requirejs optimizer