Fixing JSHint issues.