[javascript] jQuery map vs. each