Selectors and looping array in jQuery