Condensed more js code behind files with new namespace technique.