Jqsimple connect

I dont like this method. Do not use setInterval here. What is this function trying to do?