IEnumerable Implementation for JavaScript.