Applied JSLint to server.js
Data can be imported directly over the web now
Importing data into a new data structure
As it's very tricky to look for undefined values, drafts need to be explicitly null
The brand list now uses the new mongo database structure
When importing we no longer duplicate brandCode. Created has more sensible structure and there is version for optimistic concurency
New data structure in place for loading single brand data
Providing list of published and draft brand data using new data structure

As I had hoped changing the data format this was slightly easier to implement now
Now we can get a local copy of the logos automatically
The brand data can now be edited and saved in the new data structures
Correctly set updated and created details