JavaScript collection for high-performance data updates