Create tree.js

Extended version of tree.js from javascript.ru. Allows to delete chosen node.