JavaScript: Anonymous Functions And The Module Pattern