// helper functions

var http = require("http");
var libraries = require("./tmp/packages.json").packages;

exports.getLibraries = function () {
  return libraries.map(function (data) {
    return {
      name: data.name,
      url: "//cdnjs.cloudflare.com/ajax/libs/" + data.name + "/" + data.version + "/" + data.filename
    }
  });
};

exports.getActiveLibrary = function (data) {
  return data ? JSON.parse(data) : undefined;
};

@@ -18,36 +18,8 @@
 ns%0A%0A
-var http = require(%22http%22);%0A
 var 

Remove an unnecessary require