cancel file invitation
download files (without working cancel)
fix jshint warning