same demo on NodeJS