Finished Tree in ruby, javascript, coffee