js file reorganization, basic name spacing