Update js engine for longer timeout and improved logging