Added deep extending to the extend() function.
Leveraging the new deep extending in AJAX functions.