Thread:Manual talk:Coding conventions/JavaScript/Globals on gadgets and user scripts

Does the section "Globals" applies to gadgets and user scripts? Are there other recommendations for these cases?