// Fake service (makes a tether)
/* jshint node: true */

(function () {
    "use strict";

    var runtime = require("quark_node_runtime.js");
    var ipify = require("./ipify");

    function Consumer() {};
    Consumer.prototype.consume = function (ip) {
        console.log("IP is " + ip);
        process.exit();
    };

    var m = new ipify.MyExternalIP(runtime, new Consumer());
    runtime.launch();
})();

// Fake service (makes a tether)
/* jshint node: true */

(function () {
    "use strict";

    var runtime = require("quark_node_runtime.js");
    var ipify = require("./ipify");

    function Consumer() {}
    Consumer.prototype.consume = function (ip) {
        console.log("IP is " + ip);
        process.exit();
    };

    var m = new ipify.MyExternalIP(runtime, new Consumer());
    runtime.launch();
})();

Fix typo in JS client example
Fix typo in JS client example