diff --git a/src/dct.js b/src/dct.js
index <HASH>..<HASH> 100644
--- a/src/dct.js
+++ b/src/dct.js
@@ -7,7 +7,7 @@
  * tool to understand the Mel-scale and its related coefficients used in
  * human speech analysis.
 \*===========================================================================*/
-cosMap = null;
+var cosMap = null;
 
 // Builds a cosine map for the given input size. This allows multiple input sizes to be memoized automagically
 // if you want to run the DCT over and over.
Assign cosMap as undefined variables in strict mode (and ES6) throw errors