move jquery for showing and hiding content out of index.html