namespacing of function
removed obsolete js file