Edited form elements in _form.erb, Minor changes in js