A Javascript library for XML Authoring