Javascript Isolationist Foreign Policy