Avoid polluting the global namespace (important in these days of combining scripts from multiple locations) - module pattern used with the support of nested object namespacing with the object literal pattern.