Removed dependency on 'errors' so browserify can use package