move sample JS code into a script tag for better syntax highlighting.
add TogetherJS integration.