Changing JS file layout. Adding namespace.