repaired error handling in acornwalker.js