 
 class ProductPropertyEditor
   constructor: (@category_editor, @parent, @property) ->
-    propertyEditorTemplate = _.template($("#property-editor-template").html())
-    @node = $("<tr>").html(propertyEditorTemplate(property_editor: this))
+    propertyEditorTemplate = _.template($('#property-editor-template').html())
+    @node = $('<tr>').html(propertyEditorTemplate(property_editor: this))
     @parent.append @node
 
     @delete_button = @node.find '.js-delete-property'

      @parent.trigger 'deleteCategory', this

  name: ->
    @node.find(".js-cat-name").val()

  addProperty: (property) ->
    @properties.push new ProductPropertyEditor(this, @property_rows, property)

      @parent.trigger 'deleteProperty', this

  key: ->
    @node.find('.js-key').val()

  value: ->
    @node.find('.js-val').val()

  serialize: ->
    { key: @key(), value: @value() }
