Replace the checkbox with the "visible/invisible" image via JavaScript