Javascript: GC working