observejs and setImmediate override