javascript function to show hide div on button click