nodejs/http_responder is refactored and some code cleaning is done