Updated nano (CouchDB provider) to the latest version and fixed an issue with node v0.6 which throws a different error
Removed a trailing comma. JSLint was complaining