Fix problem that caused layout to break when rangy was loaded.
Fix faulty doc