added jquery patch