$.map for improved elegance