[module] phylogram : Fix infinite loop bug
[core] Refactor init.js
[module] phylogram : Other infinite loop