edit js form selction