JS correction