added support for chaijs with javascript
Add chai