Firefox 22 changes need to add window. before calls to setTimeout.