added working Node.js model