replace all instances of a href="#" with a href="javascript:void(0)" to avoid navigation when clicking non-navigation elements