ditch `useConfig`, it was a bad idea to begin with. Mock in the XHR request.
isOAuth->isOAuth()
.
Clean up jshint and jscs errors.