Clean up old js and py codes that still use mongodb