Update configuration.js

Added errorHandler property on the defaults object.