added jquery to show and hide commands