Turn on modern JS by adding use strict to your script code example
Example: Turn on modern JS by adding use strict to your script
// Non-strict code...
(function(){
"use strict";
// Define your library strictly...
})();
// Non-strict code...