Fix #87. Enclose window.setTimeout callback into an anonymous function. Thanks @jamesmortensen