TypeError: Function.prototype.apply: 'this' is not a Function object at Global code (sourceInfo_12.js:17:1)