First Non Repeating Character In Leetcode Javascript