Adding previously used Ajax and sprockets