Changes in the form and remove console log for .js.erb