Fix updateComment.js.erb file to fix 500 internal server error