once: Improve code + add support for `options.when` condition
once: Improve code + add support for `options.when` condition

Tokimon/vanillajs-browser-helpers,Tokimon/vanillajs-browser-helpers,Tokimon/vanillajs-browser-helpers