hide and show JS for image button and form