Fix namespacing of Windows JS