Fixed bug: Dart to Js compilation issue in tree.