Attaching to window, controlling scope
Attaching to window, controlling scope

Wrapping in an anonymous function to control scope; attaching to window (or global scope) rather than built-up variable
ncuria/activesave