By pure Android I presume that your application is written in one, (or more), of C/C++/C#/Java/HTML5 - Android is the OS not the language.
Microsoft do supply a free community edition of Visual Studio here
Will guess how to convert from Android OS to Windows It is from Microsoft so I very much doubt it.
Includes Windows Phone Emulators Yes
Chaining method calls is not a native JS thing, but if you like that coding style you might consider a library that drops in for jQuery but uses native calls as much as possible. The only one I know of is jBone, but it claims to be for backbone.js. I haven't used it, so I'm not sure if it will work stand-alone. The source is small though, so that could be a ...
I don't think this is completely what your after, but it may be useful anyway.
The first few results of Google are:
Converts your example to
document.write( '<div id=\"testid\">\n' );
document.write( ' <span class=\"text\" data-attribute=\"value\">Text</span>\n' );
document.write( '</div>' );