Move var declaration to the top
Add JSHint config