Fix deep copy usages

$.extend() requires a first argument of 'true' to deep copy