Removed log messages
Refactoring request.js