added ajax functionality through jquery-fileupload