Made error.js an external package, sort of.