flight-upload.js: fix gjslinter check