change js file location into files