Simple chain pattern matching library for node.js