updated bee.js, added method to tree to search for particular node