Fixed JSHint violation