Simple Node.js filter