Namespacing library for javascript