diff --git a/sanityCheck.sh b/sanityCheck.sh
index e78439d5781459a5e5daf28d9a5025b67462f9f2..5a3eed616d84eea19af0a723acd6ec5433238ed5 100755
--- a/sanityCheck.sh
+++ b/sanityCheck.sh
@@ -122,9 +122,9 @@ $GREP "@@[a-z]\+;" -- 'src/*' | myprint "SelectorMissingDot"
 # Check for </span>.  instead of .</span>
 $GREP -E "</span>(\.|,|;|:)\s" -- src/*.js | myprint "WrongSelectorPunctuation"
 # Check for missing whitespace between operators
-#$GREP -E "\(.(\+|\-|\*|\/|\=)." -- src/*.js --exclude={dTree,dTree.min,format,Jquery,mousetrap}.js | myprint "MissingWhitespace"		// can't quite get this to work
+#$GREP -E "\(.(\+|\-|\*|\/|\=)." -- src/*.js :^Jquery.js,^dTree.js,^dTree.min.js,^format.js,^mousetrap.js | myprint "MissingWhitespace"
 # Check for @@ selector instead of <span> selector
-$GREP -E "@@\." -- src/*.js | myprint "WrongSelectorUsed"
+$GREP "@@\." -- src/*.js | myprint "WrongSelectorUsed"
 
 # Check that we do not have any variables that we use only once.   e.g.	 $onlyUsedOnce
 # Ignore  *Nationalities