enable passing a reference to chai

this is so people like me who use a lot of symlinks and 
browserify can pass the actual chai instance in