added Jquery functionality