added support for js and xml

xml support is only editing - no outline, as I'm not decided yet
what shoul be displayed in it