Change console.log for network error into callback
Merge pull request #2 from bigmonkeyboy/patch-1

Change console.log for network error into callback