Isomorphic Javascript app with React