fixed turbolinks issue by replacing html form with form tag, and removed cocoon gem and js requirement