add jquery for buttons on show page