reconstruct js files