A simple javascript plugin for namespace