diff --git a/lms/templates/textannotation.html b/lms/templates/textannotation.html
index f8a8c33314..e412e0b310 100644
--- a/lms/templates/textannotation.html
+++ b/lms/templates/textannotation.html
@@ -46,7 +46,7 @@
//Grab uri of the course
var parts = window.location.href.split("/"),
- uri = '',
+ uri = '';
for (var index = 0; index <= 9; index += 1) uri += parts[index]+"/"; //Get the unit url
//Change uri in cms
var lms_location = $('.sidebar .preview-button').attr('href');
diff --git a/lms/templates/videoannotation.html b/lms/templates/videoannotation.html
index 2fcd011ce6..e1f4ae19f0 100644
--- a/lms/templates/videoannotation.html
+++ b/lms/templates/videoannotation.html
@@ -49,7 +49,7 @@
//Grab uri of the course
var parts = window.location.href.split("/"),
- uri = '',
+ uri = '';
for (var index = 0; index <= 9; index += 1) uri += parts[index]+"/"; //Get the unit url
//Change uri in cms
var lms_location = $('.sidebar .preview-button').attr('href');