fixed js path to tree functions in 1.3.6 version