@polesye Please move:

    "use strict";

to top level anonymous function (line 2).