Updated merge with requirejs and extent searching