taking js files locally