put js back to exact copy