Building a better document editor on web technologies