_form.js added to list for precompile
javascript code moved to form.html.erb