Added import for ajax errors