Reconstruct js files