JavaScript and Python MongoDB related scripts