added proper routes handling within node.js connect's middleware #20