diff --git a/js/lib/common.js b/js/lib/common.js
@@ -1,5 +1,7 @@
"use strict";
+/* global unescape */
+
var entityToChar = require('./html5-entities.js').entityToChar;
var ENTITY = "&(?:#x[a-f0-9]{1,8}|#[0-9]{1,8}|[a-z][a-z0-9]{1,31});";
@@ -35,7 +37,7 @@ var unescapeString = function(s) {
var normalizeURI = function(uri) {
return encodeURI(unescape(uri));
-}
+};
var replaceUnsafeChar = function(s) {
switch (s) {
@@ -66,5 +68,5 @@ var escapeXml = function(s, preserve_entities) {
module.exports = { unescapeString: unescapeString,
normalizeURI: normalizeURI,
- escapeXml: escapeXml,
+ escapeXml: escapeXml
};