Added WINDOW and DOMWINDOW compatibilities
Optimized "w"