Errors are now also handled for ajax calls (skeleton only)