Fixed ajax call to create a new form