Created a base url that is passed through the url, view, and template on the AJAX call.
Created a list view that can take in a list of parameters and query on them.
Minor formatting fixes, and code cleanup.
Added functionality to the legend to hide/show nodes.
Removed console logs and encapsulated the file into a non accessible function
Moved hide method to a different place in the code. Added a simple comment.
Tiny code tweaks.