Configure JSHint
Fix JSHint warnings