Added JS to show or hide content dependent on whether a checkbox is checked.