Extended onError method for returning also response object
Updated minified version using YUI
Merge pull request #37 from KSDaemon/master

Extended onError method for returning also response object