Express/connect middleware to pre-render ajax page for non-ajax browsers, especially using angular.js