diff --git a/stages/static/js/attribution.js b/stages/static/js/attribution.js
index 10a7354..be0edf3 100644
--- a/stages/static/js/attribution.js
+++ b/stages/static/js/attribution.js
@@ -63,7 +63,7 @@ function update_corporations(period_id) {
options.push(this);
sel.append($("").val(this.id).text(this.corp_name));
}
- if (domains.indexOf(this.domain) == -1) {
+ if ($.inArray(this.domain, domains) < 0) {
domains.push(this.domain);
$('#corp_filter').append($("").val(this.domain).text(this.domain));
}