changed from J$.lastValue to local variable lastComputedValue