Don’t leak global variables
Use strict mode
Expose $save to all resources