change to paperclip.js