Robust way to test if variable is undefined. This is causing bugs when timeout = 0
Merge pull request #2 from diofeher/master

Check IE undefined