Fixed JSHint warning