updated the NodeJS filter