Refactor DOM rendering and copy/paste support
Merge pull request #53 from ryandao/copy_paste

Refactor DOM rendering and copy/paste support