Set global timework works.
Append global timeout to window object.