escape method has been deprecated and add return

escape method has been deprecated since ECMAScript v3.
add return to retrieve's ajax.