Refactoring + Fix bug

До исправлений:

    C:\Users\Таника\WebstormProjects\notes>node test.js
    url = http://asr.yandex.net/asr_xml?key=XXXXXXXXXX&uuid=XXXXXXX&topic=notes
    path = myRecording02.wav
    type = audio/x-wav
    200 '<?xml version="1.0" encoding="utf-8"?>\r\n<recognitionResults success="1">\n\t<variant confidence="1">Карл у клары украл кларнет карл у клары украл кларнет</variant>\n</recognitionResults>\n'

После:

    C:\Users\Таника\WebstormProjects\notes>node test.js
    url = http://asr.yandex.net/asr_xml?key=XXXXXXXXXX&uuid=XXXXXXX&topic=notes
    path = myRecording02.wav
    type = audio/x-wav
    200 '<?xml version="1.0" encoding="utf-8"?>\r\n<recognitionResults success="1">\n\t<variant confidence="1">Карл у клары украл кларнет</variant>\n</recognitionResults>\n'