Removed leading newlines in editSuccess template to avoid jQuery parsing error