better, but this still won't work as is. The DOM initialize would need to call getNDTServer which will make an XHR to mlab-ns. Only when this XHR returns success can you write the object in to the HTML.

You may know this and this may be a partial fix, but it would be a good idea to spell this out in the TODO.