node-mvc - capturing actions