added jquery and dynamic behaviour