uses flag instead of time comparison for timeout
uses flag instead of time comparison for timeout

pcperini/JavascriptEngine,pcperini/JavascriptEngine,atomic-labs/JavascriptEngine,atomic-labs/JavascriptEngine