browser/window/compatibility: move require to correct place (browser/window/animation_frame)