added jquery handling.