Change in js class