Removed a lot of unused requires
Refactor DOMWindow into its own file