`this` refers to global window here. Fortunately, `this` is not used there (sic). You should remove this parameter to avoid confusion.