fix settimeout call for FF