Hook to relations.js.erb so it works