added support for chaijs with javascript