Basic common functions for Phoenix JS packages: namespaces and classes