removed JSHint warning