use configs/routes.js for both client and server side routes

as mentioned here: https://github.com/yahoo/flux-examples/issues/55