making js files local