text: 
    /* add http:// to URL fields on blur or when enter is pressed */
    document.addEventListener('DOMContentLoaded', function() {
      function addDefaultScheme(target) {
        if(target.value.match(/^(?!https?:).+\..+/)) {
          target.value = "http://"+target.value;
        }
      }
      var elements = document.querySelectorAll("input[type=url]");
      Array.prototype.forEach.call(elements, function(el, i){
        el.addEventListener("blur", function(e){
          addDefaultScheme(e.target);
        });
        el.addEventListener("keydown", function(e){
          if(e.keyCode == 13) {
            addDefaultScheme(e.target);
          }
        });
      });
    });
  