Minor formatting and remove unused imports in upload.py from Nodejs
Mongodb module