Results are now cleared in the AJAX callback function, to prevent the results from mutlple searches being displayed simultaneously.
Replicated the d3 'build your own graph' in coffee script Now need to add nodes from search results box.