/// <summary>
 /// Static constructor
 /// </summary>
 static VroomJsEngine()
 {
     if (Utils.IsWindows())
     {
         OriginalAssemblyLoader.EnsureLoaded();
     }
 }
        /// <summary>
        /// Initializes a JS engine
        /// </summary>
        private static void Initialize()
        {
            if (_initialized)
            {
                return;
            }

            lock (_initializationSynchronizer)
            {
                if (_initialized)
                {
                    return;
                }

                if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
                {
                    try
                    {
                        OriginalAssemblyLoader.EnsureLoaded();
                    }
                    catch (Exception e)
                    {
                        throw WrapAssemblyLoaderException(e);
                    }
                }

                _initialized = true;
            }
        }