Connect middleware for LiveScript