function getScriptPlugin(property) {
  const obj = window[property];
  if (
    typeof HTMLElement === 'object' ? obj instanceof HTMLElement : //DOM2
      obj && typeof obj === 'object' && true && obj.nodeType === 1 && typeof obj.nodeName === 'string'
  ) {
    return undefined;
  }
  return obj;
}
Get non HTMLElement property in the window object
@param {string} property - The window property to fetch the script plugin from.
@returns {any | undefined} - The HTML Element property on the window object.