cosmo.account.preferences has an unnatural dependency on cosmo.app.pim. Why bring in the whole PIM to deal w/ prefs? Makes testing quite difficult. Look into de-coupling.
cosmo.app.pim.loadCollections() color stuff: a) Magic numbers are bad b) do we need this?
cosmo.util.html.createInput - needs more doco, some kwArgs not in example, like "checked"