@jagtalon jQuery has a `.map` function:

[http://api.jquery.com/jQuery.map/](http://api.jquery.com/jQuery.map/)