add JSHint options with the goal of improving code quality/readability
use camelCase
use single quotes
combine guard clauses