An experiment in server/client code reuse for rendering server and client as a one page app