If the window.gon variable is already defined, use it instead of
overwriting it.