Change for-loop to _.map.