Fix variable declarations (JSHint)
Fix strict issues