JavaScript: Array.toLocaleString