added jquery support.