find minimum and maximum value in mongodb node js