JSHint doesn't approve of line breaking before '||'. Rewrite to line break after '||'.
JSHint doesn't like the reference of class methods using square brackets. Rewrite it in dot notation.