//= require admin/spree_backend

(function($) {

  $(document).ready(function(){
    $("#transfer_variant").on("change", function() {
      var stock;
      alert(">>>>>>>>>");
      stock = /\((\d+)\)/.exec($("#s2id_transfer_variant").text())[1];
      return $("#stock").val(stock);
    });
  });

})(jQuery);
@@ -141,47 +141,8 @@
 var 
-stock;%0A      alert(%22%3E%3E%3E%3E%3E%3E%3E%3E%3E%22);%0A      
 stoc

Fix issues with assets