@UserTrue Thank you for your advice. Yes, at first I tried the built in mongodb with it's module. It made me quite fast switch over to MySQL and the appropriate node.js module ;)
Select "Mix Lines" in the resource, that way all the lines are mixed and thus it will have a random line. Or you can use javascript to mix the array list using function shuffle to get a better constant randomization. I believe there's also the option "Shuffle List" under the "List" option