Changed some native function calls to JQuery function calls. Changed taskTree class to TaskTree. Changed node to Node class.