Try fix for Chrome v9 and earlier that complains about the global isFinite