Handle request errors
Write webkit console to stdout in debug mode