This could be `$window.FileTransfer()`, and then you can drop the JSHint global variable hand-holding.