JS design patterns: module, revealing module