instanceof has a higher precedence than the ! operator, merging fix from https://github.com/novus/nvd3/pull/627