widgets/external_ip: port to javaScripCore