refactor file js file names