fix error form 2 update js