How can you group these into functions or objects to keep stuff out of the global scope?