update js for profile form