Common JavaScript namespacing patterns