Using namespaces in Javascript avoids conflicts with other files or browser extension scripts. Using it will also improve performance as the JS engine will only search for functions or variables of specific namespace instead of searching the entire global space.
Not using it may not be a bug but may potentially introduce bugs.