Fixed destroy method

To get destroy working, I added jquery rails back to gemfile, required it in application.js, and fixed the syntax in show page. The destroy method in rails is actually an AJAX request. 
Old syntax for destroy button:
    <%#= link_to "<i class='fa fa-trash-o'></i> &nbsp;Destroy".html_safe, user_added_products_path, method: :delete, :onclick => 'Are you sure you want to delete "#{@user_product.name}"?', class: "btn btn-inverse round2" %>

    <%#= link_to "Destroy", @user_product, method: :delete, data: { confirm: 'Are you sure?' } %>

Working syntax for destroy button: 
    <%= link_to "<i class='fa fa-trash-o'></i> &nbsp;Destroy".html_safe, @user_product, method: :delete, data: { confirm: "Are you sure you want to delete #{@user_product.name}?" }, class: "btn btn-inverse round2" %>