Added client mounting option

Mounting in the client is achieved by injecting javascript at the tail of `<body>`. This javascript defines and mounts the react component over the entire document. The injected code is derived from the express view, and subjected to minor ad-hoc modifications.