Some work on the js to show/hide items. BORKED