add window global for non-AMD projects