fixed jquery index var