Small JS additions to allow the importer backend to finish CSV uploads. ...

this Fixes #1224.