- Refactored default request callback into separated js file.