diff --git a/client/ansi/filters/ansi.js b/client/ansi/filters/ansi.js
index <HASH>..<HASH> 100644
--- a/client/ansi/filters/ansi.js
+++ b/client/ansi/filters/ansi.js
@@ -81,7 +81,7 @@ function ansiparse(str) {
 
   for (var i = 0; i < str.length; i++) {
     if (matchingControl !== null) {
-      if (matchingControl == '\033' && str[i] == '\[') {
+      if (matchingControl === '\\033' && str[i] === '\\[') {
         //
         // We've matched full control code. Lets start matching formating data.
         //
diff --git a/client/utils/ng-sortable-directive.js b/client/utils/ng-sortable-directive.js
index <HASH>..<HASH> 100644
--- a/client/utils/ng-sortable-directive.js
+++ b/client/utils/ng-sortable-directive.js
@@ -1,6 +1,7 @@
 'use strict';
 
 var _ = require('lodash');
+var $ = require('jquery');
 var Sortable = require('sortable');
 
 module.exports= function ($parse) {
linting, tests pass!

Still broken on heroku and mail notifier