Separated d3 code from jade files. Refined "3" hop logic. Filtered too many nodes returned.