sync js files