moved container id to layout.erb; added javascript file
added a success message when form is submitted