Added simple mongo query

Working on seperate javascript file not tested in Html