Add shim for old style window.plugins