prevent TypeError: "use strict" is not a function