PIM-2722 : remove javascript error from tree-view.jstree