Fix the js with the new form