Node.js based JavaScript rule engine