:plain
  $(".save-project-loader").replaceWith(errorMessage('#{escape_javascript(@error.message)}'));