Make Zeros Leetcode Javascript Solution