Fix JS connection for XML Authoring