It looks like this activity could be achieved with a call to $.extend