paperclip replacing carrierwave, now to jquery