I'm stuck on a project that I've been working on for over 3 weeks.
I've implemented a Jquery Map on my page, but when a node is clicked on the map the browser loads a new page.

This is how the map should function:

Here is the broken map on my page:

I've tried deleting all other JS and also tried adding event.preventDefault(); but the browser still loads a new page when a node is clicked.

I appreciate any help I can get.

Thank you