added namespacing to ajax.js