A simple class to add namespaces to javascript.