changes in file structure for js