diff --git a/lib/assets/javascripts/_modules/search.js b/lib/assets/javascripts/_modules/search.js
index <HASH>..<HASH> 100644
--- a/lib/assets/javascripts/_modules/search.js
+++ b/lib/assets/javascripts/_modules/search.js
@@ -3,8 +3,6 @@
 (function ($, Modules) {
   'use strict'
 
-    s.lunrIndex;
-    s.lunrData;
   Modules.Search = function Search () {
     var s = this
     var $html = $('html')
@@ -160,7 +158,7 @@
       content = $(content).mark(query)
 
       // Split content by sentence.
-      var sentences = content.html().replace(/(\.+|\:|\!|\?|\r|\n)(\"*|\'*|\)*|}*|]*)/gm, "|").split("|");
+      var sentences = content.html().replace(/(\.+|:|!|\?|\r|\n)("*|'*|\)*|}*|]*)/gm, '|').split('|')
 
       // Select the first five sentences that contain a <mark>
       var selectedSentences = []
Fixes issues in search.js identified by Standard

Theres no need to declare two properties on `s` variable as they will
be added to `s` when they are first useds.

Standard also raised an issue on unnessary escaping in the regex which
is why I removed the couple `\` in the regex.