style($stateParams): make JSHint stop yelling