Make plugin agnostic to Chai version