Isomorphic full-stack JavaScript application using React.js and Hapi.js