I'm using from browser, not Node.js - but it was easy to adjust - and this script works beautifully! Thank you very much.