express + swig + keyboard handler with observer