Redesign variant form (js bug)