add xtend as dep

Missing xtend dep referenced in error.js