I wonder which is simpler, modifying Etherpad or using one of these libraries: http://stackoverflow.com/a/26567834/287595