diff --git a/index.html b/index.html
index e79c178e4..6e8661145 100644
--- a/index.html
+++ b/index.html
@@ -57,6 +57,7 @@
+
diff --git a/js/id/ui.js b/js/id/ui.js
index 3379ef4f1..328d46b45 100644
--- a/js/id/ui.js
+++ b/js/id/ui.js
@@ -90,15 +90,9 @@ iD.ui = function(context) {
.attr('href', 'http://github.com/systemed/iD/issues')
.text(t('report_a_bug'));
- var imagery = linkList.append('li')
- .attr('id', 'attribution');
-
- imagery.append('span')
- .text('imagery');
-
- imagery
- .append('span')
- .attr('class', 'provided-by');
+ linkList.append('li')
+ .attr('id', 'attribution')
+ .call(iD.ui.Attribution(context));
linkList.append('li')
.attr('class', 'source-switch')
diff --git a/js/id/ui/attribution.js b/js/id/ui/attribution.js
new file mode 100644
index 000000000..282833e7e
--- /dev/null
+++ b/js/id/ui/attribution.js
@@ -0,0 +1,10 @@
+iD.ui.Attribution = function(context) {
+ return function(selection) {
+ selection.append('span')
+ .text('imagery');
+
+ selection
+ .append('span')
+ .attr('class', 'provided-by');
+ }
+};