Trim ajax response string
Merge pull request #357 from XWB/jquery-1.9-fix

Trim ajax response string