doc->diff); js::set('objectType', isset($type) ? $type : ''); ?>