http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html Great tutorial.