added reset form  function to create.js