     root.base_url = Spree.routes.taxonomy_taxons_path
 
     Spree.ajax
-      url: Spree.url(base_url.path().replace("/taxons", "/jstree")).toString(),
+      url: base_url.replace("/taxons", "/jstree"),
       success: (taxonomy) ->
         last_rollback = null
 

          json_data:
            data: taxonomy,
            ajax:
              url: (e) ->
                "#{base_url}/#{e.prop('id')}/jstree"
          themes:

  Spree.ajax
    type: "POST",
    dataType: "json",
    url: base_url,
    data: {
      "taxon[name]": name,
      "taxon[parent_id]": new_parent.prop("id"),
      "taxon[child_index]": position,
    },
    error: handle_ajax_error,
    success: (data,result) ->
