ah, this should be as is - I'm using the module pattern here. http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html