Address JSHint complaints