Use stricter JSHint rules and fix errors related to those