js update for compress