Another JS framework to look at is Backbone[2].
[1] http://expressjs.com/guide.html#routing
[2] http://documentcloud.github.com/backbone/