Scott, you used A elements as JS triggers which is not proper... the A element is for linking to other web-resources. If you need an element for onclick JS execution, just use a button or a SPAN element....
The one time where you do bind click event handlers to A elements, is to prevent the default action, for example, load the content by AJAX, rather than to reload the entire page, but this is not the case here, as you do not have an default action ( href="#" )