There's no implied `this` in JavaScript. A global `var` will be created here, which is not what you want.