Isomorphic routing using React.js and Hapi.js