This seems brittle, I don't think it's necessary to store this as a property of the browser object.