DRY up voting js.erb