Bring main callback to node.js error conventions
http://docs.nodejitsu.com/articles/errors/what-are-the-error-conventions