Enabling XMI loader and Serializer in JS.
Some cleaning also