add JQuery functionality