Implements enumerable objects to Javascript, with usage similar to C# IEnumerable