Fix isFinite for pretty much any sort of JavaScript engine. Even web workers.