added a loop jquery