REFACTOR Show/hide code into JQuery.