fix phylogram module and reorganize d3 libs