make js files local