Moved setInterval to inside onReady function