Binary Tree In Leetcode Javascript Solution