Since the demo was very fast it just looked like you are popping up some values with alert command. Therefore I modified the demo and added a 2 seconds delay plus a simple loading.

Hope it’s better now.