Move constants from `ol.has` to `ol`