Javascript solution for Leetcode