Replace Ext code with jQuery

- define namespaces via javascript objects