A flexible preprocessing framework for Node.js