Using shuffle from underscore (same algorithm as used in old utils.js)