correst error indication for ajax file upload