Suggest box query using mongodb, php and javascript