add global error handling for ajax calls
Merge pull request #13 from kjaenicke/feature-global-timeout-fix

Global Timeout Fix