Single-page application for sharing code and a detached chat room