added default request handlers

- default request handlers are used if no event listener was attached to
the element.
- fixed request error handler