introduced conventions for namespaces

namespaces.txt gives some brief summary about the use of namespaces in
Javascript. The file init.js has to be included before all other
js-files in order to work.