A lazy array for JavaScript