add IE 8 support

had to switch to expect from chai and polyfill a few bits and pieces
used in various dependencies
Please cite the source of the code as well.