Small fix for dealing with setTimeout issues onfacebook