ColdFusion-style list handling in Javascript.