Update JSHint and catch more warnings