Rewrote WYMeditor.copyPropsFromObjectToObject into a jQuery function.