[UPD] Javascript changes