Used Jquery traversing methods