templates/script.ejs
// ==UserScript==
// @name <%- variation_id %>
// @namespace <%- experiment_id %>
// @description <%- description %>
// @match <%- _url %>
<% var jQuery = "jQuery"; %>
<% var $ = "$"; %>
<% if(_jquery === "jQuery"){
%>
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js
<% }else if(_jquery === "lite"){ %>
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js
<% }else{
jQuery = "";
$ = "";
} %>
// ==/UserScript==
(function(<%- $ %>){
<%- _js %>
})(<%- jQuery %>);