Trim ajax success message