0: Test for the JS 'undefined' -> .NET object instance converter
0: Reformatted code to make it more readable