Put opening `{` on expected line

Line 41 to the end of line 40
Define `fkt` variable once
Define `handleResize()` before it's used
Remove strict mode violations

Unclear usage of `this`
Use `forEach()` instead of for loop

Removes need for `continue` statement, which fails JSLint
Merge branch 'pass-jslint'