added mongo js getter