Unlink elements var to aid GC and avoid detacted DOM elements