Separation of javascript into multiple files. Creation of namespaces and classes for Glyphs