xxxxxxxxxx
var container = $("#myid")
container.shuffleNames();
const names = ["", "john", "rita", "katsigaros", "jonathan", "peepee"];
names.forEach((i, t) => {
(function(index, text) {
setTimeout(function(){
container.shuffleNames({
"text": text
});
}, index * 3000);
})(t, i);
});