Golang Find Substring In String Javascript Methods