JSHint doesn't approve of short-circuit evaluating the options param if it is undefined. Rewrite it as an assignment expression.