Create Tree Data Structure Javascript Editor Atom